package analysis.syntaxtree;import java.util.List;import java.util.Vector;public class MethodDeclList {   private Vector list;   public MethodDeclList() {      list = new Vector();   }   public void addElement(MethodDecl n) {      list.addElement(n);   }   public MethodDecl elementAt(int i)  {       return (MethodDecl)list.elementAt(i);    }   public int size() {       return list.size();    }   public List<MethodDecl> getList() {     return list;   }}